﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>

<script type="text/javascript">
    function cknull(){
        var tt1=document.getElementById("<%=txt划转金额.ClientID %>").value;
        if(tt1!=null&&tt1!=""){return true;}
        else{alert('划转金额不能为空！');return false;}
    }
    window.onload=function aa(){
        var tt=document.getElementById('<%=txt提交状态.ClientID %>').value;
        var t1=document.getElementById('<%=btn_Insert.ClientID %>');
        if(tt=="1"){
            t1.style.display="none";
        }
    };
</script>

<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
    margin-top: 1px">
    <tr>
        <td valign="middle" height="30">
            <font id="Font1" style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left;
                color: black; text-indent: 1em;" runat="server">划账金额编辑 </font>
        </td>
    </tr>
</table>
<center>
    <table style='width: 600px;' class="window_tab_list" cellpadding="0" cellspacing="0"
        border="1">
        <tr>
            <th colspan="4">
                划账金额
            </th>
        </tr>
        <tr>
            <td style="text-align: center; height: 33px; width: 120px;">
                征收批次号
            </td>
            <td colspan="3">
                <asp:Label ID="lbl征收批次号" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="text-align: center; height: 2px; width: 120px;">
                评估补偿总额(元)
            </td>
            <td style="text-align: left; height: 33px; width: 120px;">
                <asp:TextBox ID="补偿总" runat="server" onfocus="this.blur()"></asp:TextBox>
            </td>
            <td style="text-align: center; height: 2px; width: 120px;">
                补助款总额(元)
            </td>
            <td style="text-align: left; height: 33px; width: 120px;">
                <asp:TextBox ID="补助" runat="server" onfocus="this.blur()"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: center; height: 2px; width: 120px;">
                已划转金额(元)
            </td>
            <td style="text-align: left; height: 33px; width: 120px;">
                <asp:TextBox ID="已划转" runat="server" onfocus="this.blur()"></asp:TextBox>
            </td>
            <td style="text-align: center; height: 2px; width: 120px;">
                余额(元)
            </td>
            <td style="text-align: left; height: 33px; width: 120px;">
                <asp:TextBox ID="txt余额" runat="server" onfocus="this.blur()"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: center; height: 33px; width: 120px;">
                本次划转金额(元)
            </td>
            <td style="text-align: left; height: 33px; width: 120px;">
                <asp:TextBox ID="txt划转金额" runat="server"></asp:TextBox>
            </td>
            <td style="text-align: center; height: 2px; width: 120px;">
                划转时间
            </td>
            <td style="text-align: left; width: 120px;">
                <CBW:MPCalendar id="txt划转时间" runat="server" />
            </td>
        </tr>
        <tr>
            <td style="text-align: center; height: 48px; width: 120px;">
                备注
            </td>
            <td style="text-align: left; width: 533px; height: 48px;" colspan="3">
                <asp:TextBox ID="txt备注" runat="server" TextMode="MultiLine" Width="99%"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:Button ID="btn_Insert" runat="server" Text="保存" OnClientClick="return cknull();" />&nbsp;&nbsp;
                <input id="Button2" type="button" value="返回" onclick="javascript:window.location.href=('ZS_AddPCHRY.aspx?PCID=<%=HttpContext.Current.Request["PCID"] %>&PNID=<%=HttpContext.Current.Request["PNID"] %>');" />
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <span style="color:Red;font-size:12px;">单批次划转，填入金额不得超过余额。</span>
            </td>
        </tr>
    </table>
    <div style="display: none;">
        <asp:TextBox ID="txtPCID" runat="server"></asp:TextBox>
        <asp:TextBox ID="txtID" runat="server"></asp:TextBox>
        <asp:TextBox ID="txtURID" runat="server"></asp:TextBox>
        <asp:TextBox ID="txtPNID" runat="server"></asp:TextBox>
        <asp:TextBox ID="产权补助" runat="server"></asp:TextBox>
        <asp:TextBox ID="货币补助" runat="server"></asp:TextBox>
        <asp:TextBox ID="txtZSUSERID" runat="server"></asp:TextBox>
        <asp:TextBox ID="txt提交状态" runat="server"></asp:TextBox>
    </div>
</center>
